package com.quasar.hpatient.model.medicalmodel;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.io.Serializable;

/**
 * name : lishuai
 * time : 2018/1/12
 * title:
 */

public class LifecycleHead implements MultiItemEntity, Serializable {
    public static final int TITLE = 1;
    public static final int MOUTH = 2;
    public static final int CONTENT = 3;
    private int itemType;

    private String year;
    public LifecycleYear lifecycleYear;

    public LifecycleHead(int itemType, String year) {
        this.itemType = itemType;
        this.year = year;
    }

    public LifecycleHead(int itemType, LifecycleYear lifecycleYear) {
        this.itemType = itemType;
        this.lifecycleYear = lifecycleYear;
    }

    public LifecycleYear getLifecycleYear() {
        return lifecycleYear;
    }

    public void setLifecycleYear(LifecycleYear lifecycleYear) {
        this.lifecycleYear = lifecycleYear;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    @Override
    public int getItemType() {
        return itemType;
    }
}
